//
//  xsAudioConditioningSettingView.h
//  digital_robot_demo
//
//  Created by xskj on 2024/9/9.
//  音频参数

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol xsAudioConditioningSettingViewProtoCol <NSObject>

@optional
// musicType 0选择配音中的音频参数 2选择背景音中的音频参数
- (void)xsAudioVolumeChange:(CGFloat)cgValue withMusicType:(NSInteger)musicType;// 音量改变
- (void)xsLanguageSpeedChange:(CGFloat)cgValue;// 语速改变

- (void)xsTryListenbuttonEvent:(UIButton *)button;// 试听按钮被点击

// musicType 0选择配音中的音频参数 2选择背景音中的音频参数
- (void)xsAudioConditioningSettingVXbuttonEvent:(UIButton *)button  withMusicType:(NSInteger)musicType;// x按钮被点击

@end

@interface xsAudioConditioningSettingView : UIView

@property (nonatomic,assign)id<xsAudioConditioningSettingViewProtoCol> delegate_AudioConditioningSetting;

// musicType 0选择配音中的音频参数 2选择背景音中的音频参数
- (instancetype)initWithMusicType:(NSInteger)musicType;

- (void)xsChangeFrame;


@end

NS_ASSUME_NONNULL_END
